% load all DiffuseSets in a given folder

folder = '200ms_HoldHeating_Ones_Oct25';

files = dir(fullfile(folder, '*.mat'));

ds = {};
for ii = 1:length(files)
    a = load(fullfile(files(ii).folder, files(ii).name));
    ds{ii} = DiffuseSet();
    ds{ii}.loadStruct(a.AsStruct);
end